/**
 * 求单位命令 调用实现了处理求单位大小的接收类来处理
 */
public class UnitCommand implements Command {
    private UnitHandler unitHandler;
    public UnitCommand(){
        unitHandler = new UnitHandler();
    }
    public void execute(String text) {
    unitHandler.getUnitValue(text);
    }
}
